Optimal. Leaf size=58 \[ -\frac{x}{\left (1-a^2 x^2\right ) \tanh ^{-1}(a x)}-\frac{1}{2 a \left (1-a^2 x^2\right ) \tanh ^{-1}(a x)^2}+\frac{\text{Chi}\left (2 \tanh ^{-1}(a x)\right )}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.23446, antiderivative size = 58, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 6, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.316, Rules used = {5966, 6032, 6034, 3312, 3301, 5968} \[ -\frac{x}{\left (1-a^2 x^2\right ) \tanh ^{-1}(a x)}-\frac{1}{2 a \left (1-a^2 x^2\right ) \tanh ^{-1}(a x)^2}+\frac{\text{Chi}\left (2 \tanh ^{-1}(a x)\right )}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5966
Rule 6032
Rule 6034
Rule 3312
Rule 3301
Rule 5968
Rubi steps
\begin{align*} \int \frac{1}{\left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)^3} \, dx &=-\frac{1}{2 a \left (1-a^2 x^2\right ) \tanh ^{-1}(a x)^2}+a \int \frac{x}{\left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)^2} \, dx\\ &=-\frac{1}{2 a \left (1-a^2 x^2\right ) \tanh ^{-1}(a x)^2}-\frac{x}{\left (1-a^2 x^2\right ) \tanh ^{-1}(a x)}+a^2 \int \frac{x^2}{\left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)} \, dx+\int \frac{1}{\left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)} \, dx\\ &=-\frac{1}{2 a \left (1-a^2 x^2\right ) \tanh ^{-1}(a x)^2}-\frac{x}{\left (1-a^2 x^2\right ) \tanh ^{-1}(a x)}+\frac{\operatorname{Subst}\left (\int \frac{\cosh ^2(x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{a}+\frac{\operatorname{Subst}\left (\int \frac{\sinh ^2(x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{a}\\ &=-\frac{1}{2 a \left (1-a^2 x^2\right ) \tanh ^{-1}(a x)^2}-\frac{x}{\left (1-a^2 x^2\right ) \tanh ^{-1}(a x)}-\frac{\operatorname{Subst}\left (\int \left (\frac{1}{2 x}-\frac{\cosh (2 x)}{2 x}\right ) \, dx,x,\tanh ^{-1}(a x)\right )}{a}+\frac{\operatorname{Subst}\left (\int \left (\frac{1}{2 x}+\frac{\cosh (2 x)}{2 x}\right ) \, dx,x,\tanh ^{-1}(a x)\right )}{a}\\ &=-\frac{1}{2 a \left (1-a^2 x^2\right ) \tanh ^{-1}(a x)^2}-\frac{x}{\left (1-a^2 x^2\right ) \tanh ^{-1}(a x)}+2 \frac{\operatorname{Subst}\left (\int \frac{\cosh (2 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{2 a}\\ &=-\frac{1}{2 a \left (1-a^2 x^2\right ) \tanh ^{-1}(a x)^2}-\frac{x}{\left (1-a^2 x^2\right ) \tanh ^{-1}(a x)}+\frac{\text{Chi}\left (2 \tanh ^{-1}(a x)\right )}{a}\\ \end{align*}
Mathematica [A] time = 0.0731106, size = 58, normalized size = 1. \[ \frac{2 \left (a^2 x^2-1\right ) \tanh ^{-1}(a x)^2 \text{Chi}\left (2 \tanh ^{-1}(a x)\right )+2 a x \tanh ^{-1}(a x)+1}{2 a \left (a^2 x^2-1\right ) \tanh ^{-1}(a x)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.064, size = 51, normalized size = 0.9 \begin{align*}{\frac{1}{a} \left ( -{\frac{1}{4\, \left ({\it Artanh} \left ( ax \right ) \right ) ^{2}}}-{\frac{\cosh \left ( 2\,{\it Artanh} \left ( ax \right ) \right ) }{4\, \left ({\it Artanh} \left ( ax \right ) \right ) ^{2}}}-{\frac{\sinh \left ( 2\,{\it Artanh} \left ( ax \right ) \right ) }{2\,{\it Artanh} \left ( ax \right ) }}+{\it Chi} \left ( 2\,{\it Artanh} \left ( ax \right ) \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{2 \,{\left (a x \log \left (a x + 1\right ) - a x \log \left (-a x + 1\right ) + 1\right )}}{{\left (a^{3} x^{2} - a\right )} \log \left (a x + 1\right )^{2} - 2 \,{\left (a^{3} x^{2} - a\right )} \log \left (a x + 1\right ) \log \left (-a x + 1\right ) +{\left (a^{3} x^{2} - a\right )} \log \left (-a x + 1\right )^{2}} - \int -\frac{2 \,{\left (a^{2} x^{2} + 1\right )}}{{\left (a^{4} x^{4} - 2 \, a^{2} x^{2} + 1\right )} \log \left (a x + 1\right ) -{\left (a^{4} x^{4} - 2 \, a^{2} x^{2} + 1\right )} \log \left (-a x + 1\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.96564, size = 296, normalized size = 5.1 \begin{align*} \frac{4 \, a x \log \left (-\frac{a x + 1}{a x - 1}\right ) +{\left ({\left (a^{2} x^{2} - 1\right )} \logintegral \left (-\frac{a x + 1}{a x - 1}\right ) +{\left (a^{2} x^{2} - 1\right )} \logintegral \left (-\frac{a x - 1}{a x + 1}\right )\right )} \log \left (-\frac{a x + 1}{a x - 1}\right )^{2} + 4}{2 \,{\left (a^{3} x^{2} - a\right )} \log \left (-\frac{a x + 1}{a x - 1}\right )^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\left (a x - 1\right )^{2} \left (a x + 1\right )^{2} \operatorname{atanh}^{3}{\left (a x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (a^{2} x^{2} - 1\right )}^{2} \operatorname{artanh}\left (a x\right )^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]